<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>


    const m = new Map([
        [1, 'one'],
        [2, 'two'],
        [3, 'three'],
    ]);

    let re = [...m.keys()];
    console.log(re);


</script>

</body>
</html>